Skip to content

Fix: updated jacobi as template#560

Merged
Crola1702 merged 4 commits intogazebosim:gz-sensors10from
miguelgonrod:fix/jacobiSVD-warning
Nov 24, 2025
Merged

Fix: updated jacobi as template#560
Crola1702 merged 4 commits intogazebosim:gz-sensors10from
miguelgonrod:fix/jacobiSVD-warning

Conversation

@miguelgonrod
Copy link
Copy Markdown
Contributor

@miguelgonrod miguelgonrod commented Nov 21, 2025

🦟 Bug fix

Fixes #559

Summary

Replicate warning:

  1. Go to https://build.osrfoundation.org/job/gz_sensors-ci-gz-sensors10-homebrew-amd64 before the merge
  2. Build the job
  3. See the warning appear

Changes made

-        const auto svdDecomposition =
-            beamBasis.topRows(numBeamsLocked).jacobiSvd(
-                Eigen::ComputeThinU | Eigen::ComputeThinV);

+        const Eigen::MatrixXd svdMat =
+          beamBasis.topRows(numBeamsLocked).eval();
+        using SvdT = Eigen::JacobiSVD<Eigen::MatrixXd>;
+        const SvdT svdDecomposition(svdMat,
+          Eigen::ComputeThinU | Eigen::ComputeThinV);

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers
  • Was GenAI used to generate this PR? If so, make sure to add "Generated-by" to your commits. (See this policy for more info.)

Signed-off-by: miguelgonrod <miguelgonrod2004@gmail.com>
Signed-off-by: miguelgonrod <miguelgonrod2004@gmail.com>
Signed-off-by: miguelgonrod <miguelgonrod2004@gmail.com>
Signed-off-by: miguelgonrod <miguelgonrod2004@gmail.com>
@miguelgonrod miguelgonrod marked this pull request as ready for review November 21, 2025 18:27
@github-project-automation github-project-automation bot moved this from Inbox to In review in Core development Nov 22, 2025
@miguelgonrod
Copy link
Copy Markdown
Contributor Author

Hi @iche033. thanks for approving the changes, could you also merge? I don't have enough permissions

@Crola1702 Crola1702 merged commit b7319ec into gazebosim:gz-sensors10 Nov 24, 2025
14 checks passed
@github-project-automation github-project-automation bot moved this from In review to Done in Core development Nov 24, 2025
@scpeters
Copy link
Copy Markdown
Member

https://github.com/Mergifyio backport main

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Nov 24, 2025

backport main

✅ Backports have been created

Details

@miguelgonrod
Copy link
Copy Markdown
Contributor Author

miguelgonrod commented Nov 26, 2025

@scpeters is it possible to backport this to gz-sensors8 and gz-sensors9?
This builds had today the same warning

Builds:

@scpeters
Copy link
Copy Markdown
Member

https://github.com/Mergifyio backport gz-sensors9

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Nov 26, 2025

backport gz-sensors9

✅ Backports have been created

Details

@scpeters
Copy link
Copy Markdown
Member

I'll backport one at a time

scpeters pushed a commit that referenced this pull request Nov 26, 2025
Squashed the following cherry-picked commits:

(cherry picked from commit 961e2f6)
(cherry picked from commit f048f92)
(cherry picked from commit 2cda290)
(cherry picked from commit b59d445)

Signed-off-by: miguelgonrod <miguelgonrod2004@gmail.com>
Co-authored-by: miguelgonrod <miguelgonrod2004@gmail.com>
mergify bot added a commit that referenced this pull request Nov 26, 2025
Squashed the following cherry-picked commits:

(cherry picked from commit 961e2f6)
(cherry picked from commit f048f92)
(cherry picked from commit 2cda290)
(cherry picked from commit b59d445)

Signed-off-by: miguelgonrod <miguelgonrod2004@gmail.com>
Co-authored-by: miguelgonrod <miguelgonrod2004@gmail.com>
(cherry picked from commit 91171df)
@scpeters
Copy link
Copy Markdown
Member

final backport to gz-sensors8 is in #564

scpeters pushed a commit that referenced this pull request Nov 26, 2025
Squashed the following cherry-picked commits:

(cherry picked from commit 961e2f6)
(cherry picked from commit f048f92)
(cherry picked from commit 2cda290)
(cherry picked from commit b59d445)

Signed-off-by: miguelgonrod <miguelgonrod2004@gmail.com>
Co-authored-by: miguelgonrod <miguelgonrod2004@gmail.com>
(cherry picked from commit 91171df)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🪵 jetty Gazebo Jetty

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

🧑‍🌾 gz_sensors-ci-gz-sensors10-homebrew-amd64 clang warning related to DopplerVelocityLog.cc

5 participants